package com.liu.diy;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;

public class PersonImpl implements Person {

    @Value("张三")
    private String Name;


    public void add() {
        System.out.println("添加用户");
    }

    public void del() {
        System.out.println("删除一个接口");
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }
}
